package com.jason.redCherry.base;

import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.support.SqlSessionDaoSupport;

import javax.annotation.Resource;

/**
 * Created by Jason on 2016/9/5.
 */
public class BaseMyBatisDaoSupport extends SqlSessionDaoSupport {
    public BaseMyBatisDaoSupport() {
    }

    @Resource(
            name = "sqlSessionFactory"
    )
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
        super.setSqlSessionFactory(sqlSessionFactory);
    }
}
